package com.shop.domain;

import java.util.Date;
import java.util.List;

/**
 * 用户类
 * 
 * @author wenjuanhenxing
 * @version V1.0 User.java 2016-2-8 下午5:11:13
 */
public class User {
	private Long id;

	/** 用户名 */
	private String username;

	/** 密码 */
	private String password;

	/** E-mail */
	private String email;

	/** 信誉分 */
	private Long credit;

	/** 注册日期 */
	private Date regDate;

	/** 地址 */
	private String address;

	/** 电话 */
	private String phone;

	/** 学号 */
	private String stuId;

	/** 姓名 */
	private String realName;

	/** 学院 */
	private String college;

	/** 是否冻结 */
	private Boolean freezeStatus;

	/** 是否认证 */
	private Boolean certifyStatus;

	/** 收藏夹 */
	private List<Favorite> favorites;

	/** 收到的消息 */
	private List<MessageCenter> receiveMessages;

	/** 发送的消息 */
	private List<MessageCenter> sendMessages;

	/** 购物车 */
	private List<Cart> carts;

	/** 销售订单 */
	private List<Order> saleOrders;

	/** 买入订单 */
	private List<Order> buyOrders;

	public List<Favorite> getFavorites() {
		return favorites;
	}

	public void setFavorites(List<Favorite> favorites) {
		this.favorites = favorites;
	}

	public List<MessageCenter> getReceiveMessages() {
		return receiveMessages;
	}

	public void setReceiveMessages(List<MessageCenter> receiveMessages) {
		this.receiveMessages = receiveMessages;
	}

	public List<MessageCenter> getSendMessages() {
		return sendMessages;
	}

	public void setSendNessages(List<MessageCenter> sendMessages) {
		this.sendMessages = sendMessages;
	}

	public List<Cart> getCarts() {
		return carts;
	}

	public void setCarts(List<Cart> carts) {
		this.carts = carts;
	}

	public List<Order> getSaleOrders() {
		return saleOrders;
	}

	public void setSaleOrders(List<Order> saleOrders) {
		this.saleOrders = saleOrders;
	}

	public List<Order> getBuyOrders() {
		return buyOrders;
	}

	public void setBuyOrders(List<Order> buyOrders) {
		this.buyOrders = buyOrders;
	}

	public Boolean getFreezeStatus() {
		return freezeStatus;
	}

	public Boolean getCertifyStatus() {
		return certifyStatus;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Long getCredit() {
		return credit;
	}

	public void setCredit(Long credit) {
		this.credit = credit;
	}

	public Date getRegDate() {
		return regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getStuId() {
		return stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getCollege() {
		return college;
	}

	public void setCollege(String college) {
		this.college = college;
	}

	public Boolean isFreezeStatus() {
		return freezeStatus;
	}

	public void setFreezeStatus(Boolean freezeStatus) {
		this.freezeStatus = freezeStatus;
	}

	public Boolean isCertifyStatus() {
		return certifyStatus;
	}

	public void setCertifyStatus(Boolean certifyStatus) {
		this.certifyStatus = certifyStatus;
	}

}
